package com.diankangwo.sys.service.impl;

import com.diankangwo.sys.dao.SysThirdPartyServiceDao;
import com.diankangwo.sys.entity.SysThirdPartyServiceEntity;
import com.diankangwo.sys.service.SysThirdPartyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/** 第三方短信接口维护
 * Created by wuye on 2017/9/11.
 */
@Service("sysThirdPartyService")
public class SysThirdPartyServiceImpl implements SysThirdPartyService{

    @Autowired
    SysThirdPartyServiceDao dao;

    @Override
    public SysThirdPartyServiceEntity queryById(int id) {
        return dao.queryById(id);
    }

    @Override
    public void save(SysThirdPartyServiceEntity sysThirdPartyServiceEntity) {
        dao.save(sysThirdPartyServiceEntity);
    }

    @Override
    public int update(SysThirdPartyServiceEntity sysThirdPartyServiceEntity) {
        return dao.update(sysThirdPartyServiceEntity);
    }
}
